using Bosphorus.Library.Facade.Loader.Castle.Configurator;
using Castle.Windsor;
using NExt.Serialization.Core;
using Castle.MicroKernel.Registration;

namespace NExt.Serialization.AjaxPro.Configuration
{
    public class ContainerConfigurator : IContainerConfigurator
    {
        public void Configure(IWindsorContainer container)
        {
            container.Register(
                Component.For<IJsonSerializer>()
                         .ImplementedBy<AjaxProSerializer>());
        }
    }
}